package com.xc.xcoj.codesandbox.security;

import java.security.Permission;

/**
 * 所有安全管理器
 * @author zqx
 * @since 2024/11/8
 */
public class DenySecurityManager extends SecurityManager{

    //所有权限管理
    @Override
    public void checkPermission(Permission perm) {
        throw new SecurityException("权限异常:" + perm.toString());
    }
}
